home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- set oldVol1 to the volume of sound 1
- set oldVol2 to the volume of sound 2
- repeat with x = 255 down to 0
- if x < oldVol1 then
- set the volume of sound 1 to x
- end if
- if x < oldVol2 then
- set the volume of sound 2 to x
- end if
- updateStage()
- set x to x - 5
- end repeat
- puppetSound(0)
- sound stop 1
- sound stop 2
- updateStage()
- set the volume of sound 1 to oldVol1
- set the volume of sound 2 to oldVol2
- updateStage()
- end
-